<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${view.title}</title>
<link rel="stylesheet" href="<c:url value="/"/>css/manage.css" type="text/css" />
</head>
<body>
<div id="top_menu">
<ul>
<li><a href="<c:url value="/"/>admin/insert_tour.html?language=zh_CN">${view.navigationView.chinese}</a></li>
<li><a href="<c:url value="/"/>admin/insert_tour.html?language=en">${view.navigationView.english}</a></li>
</ul>
</div>
<div id="navigation">
<strong>${view.navigationView.position}</strong>
<ol class="navigation">
<li><a href="<c:url value="/"/>admin/manage.html">${view.navigationView.navigationManage}</a></li>
<li><a href="<c:url value="/"/>admin/tour.html">${view.navigationView.navigationTour}</a></li>
<li><a class="current" href="<c:url value="/"/>admin/insert_tour.html">${view.navigationView.navigationInsertTour}</a></li>
</ol>
</div>
<div id="content">
<form action="<c:url value="/"/>admin/insert_tour_action.html" method="post">
<table>
<tr>
<td>${view.tourContentView.typeName}</td>
<td>
<select name="typeId">
<c:forEach items="${view.tourTypeList}" var="tourType">
<option value="${tourType.id}">${tourType.name}</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<td>${view.tourContentView.category}</td>
<td>
<select name="category">
<c:forEach items="${view.categoryList}" var="category">
<option value="${category}">${category}</option>
</c:forEach>
</select>
</td>
</tr>
<tr>
<td>${view.tourContentView.subject}</td>
<td><input name="subject" type="text"/></td>
</tr>
<tr>
<td>${view.tourContentView.comments}</td>
<td><input name="comments" type="text"/></td>
</tr>
<tr>
<td>${view.tourContentView.aim}</td>
<td><input name="aim" type="text"/></td>
</tr>
<tr>
<td>${view.tourContentView.characteristic}</td>
<td><input name="characteristic" type="text"/></td>
</tr>
<tr>
<td>${view.tourContentView.location}</td>
<td><input name="location" type="text"/></td>
</tr>
<tr>
<td>${view.tourContentView.days}</td>
<td><input name="days" type="text"/>天</td>
</tr>
<tr>
<td>${view.tourContentView.cost}</td>
<td><input name="cost" type="text"/>元</td>
</tr>
<tr>
<td>${view.tourContentView.costStandard}</td>
<td>
<textarea rows="10" cols="50" name="costStandard"></textarea>
</td>
</tr>
<tr>
<td>${view.tourContentView.costNotice}</td>
<td>
<textarea rows="10" cols="50" name="costNotice"></textarea>
</td>
</tr>
<tr>
<td>${view.tourContentView.attention}</td>
<td>
<textarea rows="10" cols="50" name="attention"></textarea>
</td>
</tr>
<tr>
<td>${view.tourContentView.statement}</td>
<td>
<textarea rows="10" cols="50" name="statement"></textarea>
</td>
</tr>
<tr>
<td>${view.tourContentView.isAd}</td>
<td>
<select name="isAd">
<option value="FALSE" selected="selected">否</option>
<option value="TRUE">是</option>
</select>
</td>
</tr>
<tr>
<td>${view.tourContentView.adImageUrl}</td>
<td><input name="adImageUrl" type="text"/></td>
</tr>
<tr>
<td>${view.tourContentView.isImage}</td>
<td>
<select name="isImage">
<option value="FALSE" selected="selected">否</option>
<option value="TRUE">是</option>
</select>
</td>
</tr>
<tr>
<td>${view.tourContentView.imageUrl}</td>
<td><input name="imageUrl" type="text"/></td>
</tr>
</table>
<input type="submit" value="${view.globalView.insert}"/>
</form>
</div>
</body>
</html>